package com.tudouji.project.mt.http.response;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.util.ArrayList;

@Data
public class AppAuthTokenResponse extends MeituanResp{

    private Response data;

    @Data
    public class Response{
        //访问令牌
        @SerializedName("accessToken")
        private String accessToken;
        //access_token有效时间【单位：s】
        @SerializedName("expireIn")
        private Long expireIn;
        //更新令牌
        @SerializedName("refreshToken")
        private String refreshToken;
        //业务授权时传的scope，不传默认为：all
        @SerializedName("scope")
        private String scope;
        //授权实体的唯一标识
        @SerializedName("opBizCode")
        private String opBizCode;
    }
}
